package controller;

import facade.CategoryFacade;
import java.io.Serializable;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 * CategoryController
 *
 * JSF Managed backing bean containing model showing logic for the category
 * listing page.
 */
@ManagedBean
@SessionScoped
public class CategoryController extends PaginationController implements Serializable {

    @EJB
    private facade.CategoryFacade ejbFacade;

    public CategoryController() {
    }

    @Override
    protected CategoryFacade getFacade() {
        return ejbFacade;
    }
}
